import { createExpressionParser, Parser } from "../index"
import { SelectStatement } from "../lib/types"

describe('expression', () => {
    let sqlParser = new Parser()
    let exprParser = createExpressionParser({ notQuotes: true })
    let selectStatement = sqlParser.parse("select * from abc where id = 5") as SelectStatement
    let text = exprParser.exprToSQL(selectStatement.where)

})